{extend name="main/index" /}
{block name="main"}
<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try{ace.settings.check('breadcrumbs','fixed')}catch(e){}
        </script>

        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                
            </li>

            <li>
              <a href="{:url('admin/Office/supplies')}">办公用品</a>
            </li>
            <li class="active">办公用品记录</li>
        </ul><!-- .breadcrumb -->

        <div class="nav-search" id="nav-search">
            <form class="form-search">
                <span class="input-icon">
                    <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
                    <i class="icon-search nav-search-icon"></i>
                </span>
            </form>
        </div><!-- #nav-search -->
    </div>

    <div class="page-content">
        <div class="row">
            <div class="col-xs-12">
                <div class="row">
                    <div class="col-xs-12">
                        <h3 class="header smaller lighter blue">办公用品入库</h3>
                        <div class="table-responsive">
                            <table id="sample-table-2" class="table table-striped table-bordered table-hover">
                                <thead>
                                    <tr>
                                            <th>ID</th>
                                            <th>用品名称</th>
                                            <th>供应商</th>
                                            <th>出库数量</th>
                                            <th>出库单价</th>
                                            <th>出库总价</th>
                                            <th>库存</th>
                                            <th>更改状态</th>
                                            
                                    </tr>
                                </thead>
                                <tbody>
                                {volist name="list" id="v"}
                                    <tr>
                                            <td>{$v['id']}</td>
                                            <td>{$v['supplies_name']}</td>
                                            <td>{$v['supplier']}</td>
                                            <td>{$v['number']}</td>
                                            <td>{$v['unit_price']}</td>
                                            <td>{$v['total_price']}</td>
                                            <td>{$v['inventory']}</td>
                                        <td>

                                            <!--<span class="label label-lg label-yellow arrowed-in">Yellow</span>-->
                                            <!--<button class="btn btn-info">Info</button>-->
                                            <!--<button class="btn btn-xs btn-danger">Danger</button>-->
                                            <button data-id="{$v['id']}"  class="btn btn-danger del-btn btn-xs" id="btn" >删除</button>
                                        </td>
                                    </tr>
                                {/volist}
                                </tbody>
                            </table>

							{$page}
                        </div>
                    </div>
                </div>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content -->
</div>
    {/block}

{block name="myjs"}
   <script src="/static/admin/assets/meijs/admin_office.js"> </script>
{/block}